// elsePage/pages/storesList/storesList.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    clicked:false
  },

 
  onLoad: function (options) {

  },

  onShow: function () {

  },
  guide(){
    wx.getLocation({
      type: 'gcj02', //返回可以用于wx.openLocation的经纬度
      success: function (res) {
        var latitude = res.latitude
        var longitude = res.longitude
        wx.openLocation({
          latitude: latitude,
          longitude: longitude,
          name: "花园桥肯德基",
          scale: 28
        })
      }
    })
  },
  touchHandler(){
    return
  },
  showHidden(){
    this.setData({
      clicked: !this.data.clicked
    })
  }
})